package com.itheima.dubbo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;

/**
 * @项目名称: tanhua-53
 * @包名: com.itheima.dubbo.mysql
 * @作者: 李云飞
 * @日期: 2021-12-03
 */
//启动是不要自动加载mongodb
@SpringBootApplication(exclude = {MongoAutoConfiguration.class, MongoDataAutoConfiguration.class})
@MapperScan("com.itheima.dubbo.mysql.mapper")
public class MySQLAPP {
    public static void main(String[] args) {
        SpringApplication.run(MySQLAPP.class, args);
    }
}
